package org.wlgzs.office_exam_student.dao;

import javax.sql.DataSource;

import com.mchange.v2.c3p0.ComboPooledDataSource;

/**
*@author song(mejeesong@qq.com)
*2018年1月24日
*使用C3p0连接池的数据源提供类
*/
public class C3p0DataSourceProvider implements DataSourceProvider {
	
	private static ComboPooledDataSource cpds = new ComboPooledDataSource();

	@Override
	public DataSource getDataSource() {
		return cpds;
	}
}
